//举报

const reportreducer = (state = [], action) => {
    if (action.type === 'ADD_REPO') {
        return [...state, action.value]
    } else if (action.type === 'ADD_DY_REPO') {
        return [...state, action.value]
    } else if (action.type == 'ADD_SP_REPO') {
        return [...state, action.value]
    } else if (action.type == 'ADD_BUS_REPO') {
        return [...state, action.value]
    }
    else {
        return state
    }
}

export default reportreducer